﻿using System;
using System.CodeDom.Compiler;
using System.Collections;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Data;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Runtime.Serialization;
using System.Threading;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;

namespace HuaWei.Report
{
    [DesignerCategory("code")]
    [HelpKeyword("vs.data.DataSet")]
    [Serializable]
    [ToolboxItem(true)]
    [XmlRoot("dsRep")]
    [XmlSchemaProvider("GetTypedDataSetSchema")]
    public class dsRep : DataSet
    {
        private dsRep.XMJBXXDataTable xmjbxxdataTable;

        private SchemaSerializationMode schemaSerializationMode = SchemaSerializationMode.IncludeSchema;

        [DebuggerNonUserCode]
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public new DataRelationCollection Relations
        {
            get
            {
                return base.Relations;
            }
        }

        [Browsable(true)]
        [DebuggerNonUserCode]
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public override SchemaSerializationMode SchemaSerializationMode
        {
            get
            {
                return this.schemaSerializationMode;
            }
            set
            {
                this.schemaSerializationMode = value;
            }
        }

        [DebuggerNonUserCode]
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public new DataTableCollection Tables
        {
            get
            {
                return base.Tables;
            }
        }

        [Browsable(false)]
        [DebuggerNonUserCode]
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public dsRep.XMJBXXDataTable XMJBXX
        {
            get
            {
                return this.xmjbxxdataTable;
            }
        }

        [DebuggerNonUserCode]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public dsRep()
        {
            base.BeginInit();
            this.method2();
            CollectionChangeEventHandler collectionChangeEventHandler = new CollectionChangeEventHandler(this.method3);
            base.Tables.CollectionChanged += collectionChangeEventHandler;
            base.Relations.CollectionChanged += collectionChangeEventHandler;
            base.EndInit();
        }

        [DebuggerNonUserCode]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected dsRep(SerializationInfo info, StreamingContext context)
            : base(info, context, false)
        {
            if (!base.IsBinarySerialized(info, context))
            {
                string value = (string)info.GetValue("XmlSchema", typeof(string));
                if (base.DetermineSchemaSerializationMode(info, context) != SchemaSerializationMode.IncludeSchema)
                {
                    base.ReadXmlSchema(new XmlTextReader(new StringReader(value)));
                }
                else
                {
                    DataSet dataSet = new DataSet();
                    dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(value)));
                    if (dataSet.Tables["XMJBXX"] != null)
                    {
                        base.Tables.Add(new dsRep.XMJBXXDataTable(dataSet.Tables["XMJBXX"]));
                    }
                    base.DataSetName = dataSet.DataSetName;
                    base.Prefix = dataSet.Prefix;
                    base.Namespace = dataSet.Namespace;
                    base.Locale = dataSet.Locale;
                    base.CaseSensitive = dataSet.CaseSensitive;
                    base.EnforceConstraints = dataSet.EnforceConstraints;
                    base.Merge(dataSet, false, MissingSchemaAction.Add);
                    this.method();
                }
                base.GetSerializationData(info, context);
                CollectionChangeEventHandler collectionChangeEventHandler = new CollectionChangeEventHandler(this.method3);
                base.Tables.CollectionChanged += collectionChangeEventHandler;
                this.Relations.CollectionChanged += collectionChangeEventHandler;
            }
            else
            {
                this.method1(false);
                CollectionChangeEventHandler collectionChangeEventHandler1 = new CollectionChangeEventHandler(this.method3);
                this.Tables.CollectionChanged += collectionChangeEventHandler1;
                this.Relations.CollectionChanged += collectionChangeEventHandler1;
            }
        }

        [DebuggerNonUserCode]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public override DataSet Clone()
        {
            dsRep schemaSerializationMode = (dsRep)base.Clone();
            schemaSerializationMode.method();
            schemaSerializationMode.SchemaSerializationMode = this.SchemaSerializationMode;
            return schemaSerializationMode;
        }

        [DebuggerNonUserCode]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected override XmlSchema GetSchemaSerializable()
        {
            MemoryStream memoryStream = new MemoryStream();
            base.WriteXmlSchema(new XmlTextWriter(memoryStream, null));
            memoryStream.Position = (long)0;
            return XmlSchema.Read(new XmlTextReader(memoryStream), null);
        }

        [DebuggerNonUserCode]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
        {
            XmlSchemaComplexType xmlSchemaComplexType;
            bool flag;
            dsRep _dsRep = new dsRep();
            XmlSchemaComplexType xmlSchemaComplexType1 = new XmlSchemaComplexType();
            XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
            XmlSchemaAny xmlSchemaAny = new XmlSchemaAny()
            {
                Namespace = _dsRep.Namespace
            };
            xmlSchemaSequence.Items.Add(xmlSchemaAny);
            xmlSchemaComplexType1.Particle = xmlSchemaSequence;
            XmlSchema schemaSerializable = _dsRep.GetSchemaSerializable();
            if (xs.Contains(schemaSerializable.TargetNamespace))
            {
                MemoryStream memoryStream = new MemoryStream();
                MemoryStream memoryStream1 = new MemoryStream();
                try
                {
                    XmlSchema current = null;
                    schemaSerializable.Write(memoryStream);
                    IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
                    while (enumerator.MoveNext())
                    {
                        current = (XmlSchema)enumerator.Current;
                        memoryStream1.SetLength((long)0);
                        current.Write(memoryStream1);
                        if (memoryStream.Length != memoryStream1.Length)
                        {
                            continue;
                        }
                        memoryStream.Position = (long)0;
                        memoryStream1.Position = (long)0;
                        do
                        {
                            flag = (memoryStream.Position == memoryStream.Length ? false : memoryStream.ReadByte() == memoryStream1.ReadByte());
                        }
                        while (flag);
                        if (memoryStream.Position != memoryStream.Length)
                        {
                            continue;
                        }
                        xmlSchemaComplexType = xmlSchemaComplexType1;
                        return xmlSchemaComplexType;
                    }
                }
                finally
                {
                    if (memoryStream != null)
                    {
                        memoryStream.Close();
                    }
                    if (memoryStream1 != null)
                    {
                        memoryStream1.Close();
                    }
                }
            }
            xs.Add(schemaSerializable);
            xmlSchemaComplexType = xmlSchemaComplexType1;
            return xmlSchemaComplexType;
        }

        [DebuggerNonUserCode]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected override void InitializeDerivedDataSet()
        {
            base.BeginInit();
            this.method2();
            base.EndInit();
        }

        [DebuggerNonUserCode]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private bool lquywmUul()
        {
            return false;
        }

        [DebuggerNonUserCode]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        internal void method()
        {
            this.method1(true);
        }

        [DebuggerNonUserCode]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        internal void method1(bool _flag)
        {
            this.xmjbxxdataTable = (dsRep.XMJBXXDataTable)base.Tables["XMJBXX"];
            if (_flag && this.xmjbxxdataTable != null)
            {
                this.xmjbxxdataTable.method();
            }
        }

        [DebuggerNonUserCode]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private void method2()
        {
            base.DataSetName = "dsRep";
            base.Prefix = "";
            base.Namespace = "http://tempuri.org/dsRep.xsd";
            base.EnforceConstraints = true;
            this.SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
            this.xmjbxxdataTable = new dsRep.XMJBXXDataTable();
            base.Tables.Add(this.xmjbxxdataTable);
        }

        [DebuggerNonUserCode]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        private void method3(object sender, CollectionChangeEventArgs e)
        {
            if (e.Action == CollectionChangeAction.Remove)
            {
                this.method();
            }
        }

        [DebuggerNonUserCode]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected override void ReadXmlSerializable(XmlReader reader)
        {
            if (base.DetermineSchemaSerializationMode(reader) != SchemaSerializationMode.IncludeSchema)
            {
                base.ReadXml(reader);
                this.method();
            }
            else
            {
                this.Reset();
                DataSet dataSet = new DataSet();
                dataSet.ReadXml(reader);
                if (dataSet.Tables["XMJBXX"] != null)
                {
                    base.Tables.Add(new dsRep.XMJBXXDataTable(dataSet.Tables["XMJBXX"]));
                }
                base.DataSetName = dataSet.DataSetName;
                base.Prefix = dataSet.Prefix;
                base.Namespace = dataSet.Namespace;
                base.Locale = dataSet.Locale;
                base.CaseSensitive = dataSet.CaseSensitive;
                base.EnforceConstraints = dataSet.EnforceConstraints;
                base.Merge(dataSet, false, MissingSchemaAction.Add);
                this.method();
            }
        }

        [DebuggerNonUserCode]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected override bool ShouldSerializeRelations()
        {
            return false;
        }

        [DebuggerNonUserCode]
        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        protected override bool ShouldSerializeTables()
        {
            return false;
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public class GEventArgs18 : EventArgs
        {
            private dsRep.XMJBXXRow xmjbxxrow;

            private DataRowAction dataRowAction;

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataRowAction Action
            {
                get
                {
                    return this.dataRowAction;
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public dsRep.XMJBXXRow Row
            {
                get
                {
                    return this.xmjbxxrow;
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public GEventArgs18(dsRep.XMJBXXRow row, DataRowAction action)
            {
                this.xmjbxxrow = row;
                this.dataRowAction = action;
            }
        }

        [Serializable]
        [XmlSchemaProvider("GetTypedTableSchema")]
        public class XMJBXXDataTable : TypedTableBase<dsRep.XMJBXXRow>
        {
            private DataColumn dataColumn;

            private DataColumn lquywmUul;

            private DataColumn dataColumn1;

            private DataColumn dataColumn2;

            private DataColumn dataColumn3;

            private DataColumn dataColumn4;

            private dsRep.XMJBXXRowChangeEventHandler xmjbxxrowChangeEventHandler;

            private dsRep.XMJBXXRowChangeEventHandler xmjbxxrowChangeEventHandler1;

            private dsRep.XMJBXXRowChangeEventHandler xmjbxxrowChangeEventHandler2;

            private dsRep.XMJBXXRowChangeEventHandler xmjbxxrowChangeEventHandler3;

            [Browsable(false)]
            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int Count
            {
                get
                {
                    return base.Rows.Count;
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn DataColumn
            {
                get
                {
                    return this.lquywmUul;
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn DataColumn1
            {
                get
                {
                    return this.dataColumn1;
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn DataColumn2
            {
                get
                {
                    return this.dataColumn2;
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn IDColumn
            {
                get
                {
                    return this.dataColumn;
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public dsRep.XMJBXXRow this[int index]
            {
                get
                {
                    return (dsRep.XMJBXXRow)base.Rows[index];
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn UpdateStatusColumn
            {
                get
                {
                    return this.dataColumn4;
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DataColumn UpdateTimeColumn
            {
                get
                {
                    return this.dataColumn3;
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public XMJBXXDataTable()
            {
                base.TableName = "XMJBXX";
                this.BeginInit();
                this.method1();
                this.EndInit();
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal XMJBXXDataTable(DataTable table)
            {
                base.TableName = table.TableName;
                if (table.CaseSensitive != table.DataSet.CaseSensitive)
                {
                    base.CaseSensitive = table.CaseSensitive;
                }
                if (table.Locale.ToString() != table.DataSet.Locale.ToString())
                {
                    base.Locale = table.Locale;
                }
                if (table.Namespace != table.DataSet.Namespace)
                {
                    base.Namespace = table.Namespace;
                }
                base.Prefix = table.Prefix;
                base.MinimumCapacity = table.MinimumCapacity;
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected XMJBXXDataTable(SerializationInfo info, StreamingContext context)
                : base(info, context)
            {
                this.method();
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void AddXMJBXXRow(dsRep.XMJBXXRow row)
            {
                base.Rows.Add(row);
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public dsRep.XMJBXXRow AddXMJBXXRow(string ID, string PID, string XMBH, string XMMC, DateTime UpdateTime, int UpdateStatus)
            {
                dsRep.XMJBXXRow xMJBXXRow = (dsRep.XMJBXXRow)base.NewRow();
                object[] d = new object[] { ID, PID, XMBH, XMMC, UpdateTime, UpdateStatus };
                xMJBXXRow.ItemArray = d;
                base.Rows.Add(xMJBXXRow);
                return xMJBXXRow;
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public override DataTable Clone()
            {
                dsRep.XMJBXXDataTable xMJBXXDataTable = (dsRep.XMJBXXDataTable)base.Clone();
                xMJBXXDataTable.method();
                return xMJBXXDataTable;
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override DataTable CreateInstance()
            {
                return new dsRep.XMJBXXDataTable();
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public dsRep.XMJBXXRow FindByID(string ID)
            {
                return (dsRep.XMJBXXRow)base.Rows.Find(new object[] { ID });
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override Type GetRowType()
            {
                return typeof(dsRep.XMJBXXRow);
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
            {
                XmlSchemaComplexType xmlSchemaComplexType;
                bool flag;
                XmlSchemaComplexType xmlSchemaComplexType1 = new XmlSchemaComplexType();
                XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
                dsRep _dsRep = new dsRep();
                XmlSchemaAny xmlSchemaAny = new XmlSchemaAny()
                {
                    Namespace = "http://www.w3.org/2001/XMLSchema",
                    MinOccurs = new decimal(0),
                    MaxOccurs = new decimal(-1, -1, -1, false, 0),
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                xmlSchemaSequence.Items.Add(xmlSchemaAny);
                XmlSchemaAny xmlSchemaAny1 = new XmlSchemaAny()
                {
                    Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1",
                    MinOccurs = new decimal(1),
                    ProcessContents = XmlSchemaContentProcessing.Lax
                };
                xmlSchemaSequence.Items.Add(xmlSchemaAny1);
                XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute()
                {
                    Name = "namespace",
                    FixedValue = _dsRep.Namespace
                };
                xmlSchemaComplexType1.Attributes.Add(xmlSchemaAttribute);
                XmlSchemaAttribute xmlSchemaAttribute1 = new XmlSchemaAttribute()
                {
                    Name = "tableTypeName",
                    FixedValue = "XMJBXXDataTable"
                };
                xmlSchemaComplexType1.Attributes.Add(xmlSchemaAttribute1);
                xmlSchemaComplexType1.Particle = xmlSchemaSequence;
                XmlSchema schemaSerializable = _dsRep.GetSchemaSerializable();
                if (xs.Contains(schemaSerializable.TargetNamespace))
                {
                    MemoryStream memoryStream = new MemoryStream();
                    MemoryStream memoryStream1 = new MemoryStream();
                    try
                    {
                        XmlSchema current = null;
                        schemaSerializable.Write(memoryStream);
                        IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
                        while (enumerator.MoveNext())
                        {
                            current = (XmlSchema)enumerator.Current;
                            memoryStream1.SetLength((long)0);
                            current.Write(memoryStream1);
                            if (memoryStream.Length != memoryStream1.Length)
                            {
                                continue;
                            }
                            memoryStream.Position = (long)0;
                            memoryStream1.Position = (long)0;
                            do
                            {
                                flag = (memoryStream.Position == memoryStream.Length ? false : memoryStream.ReadByte() == memoryStream1.ReadByte());
                            }
                            while (flag);
                            if (memoryStream.Position != memoryStream.Length)
                            {
                                continue;
                            }
                            xmlSchemaComplexType = xmlSchemaComplexType1;
                            return xmlSchemaComplexType;
                        }
                    }
                    finally
                    {
                        if (memoryStream != null)
                        {
                            memoryStream.Close();
                        }
                        if (memoryStream1 != null)
                        {
                            memoryStream1.Close();
                        }
                    }
                }
                xs.Add(schemaSerializable);
                xmlSchemaComplexType = xmlSchemaComplexType1;
                return xmlSchemaComplexType;
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal void method()
            {
                this.dataColumn = base.Columns["ID"];
                this.lquywmUul = base.Columns["PID"];
                this.dataColumn1 = base.Columns["XMBH"];
                this.dataColumn2 = base.Columns["XMMC"];
                this.dataColumn3 = base.Columns["UpdateTime"];
                this.dataColumn4 = base.Columns["UpdateStatus"];
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            private void method1()
            {
                this.dataColumn = new DataColumn("ID", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.dataColumn);
                this.lquywmUul = new DataColumn("PID", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.lquywmUul);
                this.dataColumn1 = new DataColumn("XMBH", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.dataColumn1);
                this.dataColumn2 = new DataColumn("XMMC", typeof(string), null, MappingType.Element);
                base.Columns.Add(this.dataColumn2);
                this.dataColumn3 = new DataColumn("UpdateTime", typeof(DateTime), null, MappingType.Element);
                base.Columns.Add(this.dataColumn3);
                this.dataColumn4 = new DataColumn("UpdateStatus", typeof(int), null, MappingType.Element);
                base.Columns.Add(this.dataColumn4);
                ConstraintCollection constraints = base.Constraints;
                DataColumn[] dataColumnArray = new DataColumn[] { this.dataColumn };
                constraints.Add(new UniqueConstraint("Constraint1", dataColumnArray, true));
                this.dataColumn.AllowDBNull = false;
                this.dataColumn.Unique = true;
                this.dataColumn.MaxLength = 100;
                this.lquywmUul.MaxLength = 100;
                this.dataColumn1.MaxLength = 20;
                this.dataColumn2.MaxLength = 100;
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
            {
                return new dsRep.XMJBXXRow(builder);
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public dsRep.XMJBXXRow NewXMJBXXRow()
            {
                return (dsRep.XMJBXXRow)base.NewRow();
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowChanged(DataRowChangeEventArgs e)
            {
                base.OnRowChanged(e);
                if (this.xmjbxxrowChangeEventHandler1 != null)
                {
                    this.xmjbxxrowChangeEventHandler1(this, new dsRep.GEventArgs18((dsRep.XMJBXXRow)e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowChanging(DataRowChangeEventArgs e)
            {
                base.OnRowChanging(e);
                if (this.xmjbxxrowChangeEventHandler != null)
                {
                    this.xmjbxxrowChangeEventHandler(this, new dsRep.GEventArgs18((dsRep.XMJBXXRow)e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleted(DataRowChangeEventArgs e)
            {
                base.OnRowDeleted(e);
                if (this.xmjbxxrowChangeEventHandler3 != null)
                {
                    this.xmjbxxrowChangeEventHandler3(this, new dsRep.GEventArgs18((dsRep.XMJBXXRow)e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            protected override void OnRowDeleting(DataRowChangeEventArgs e)
            {
                base.OnRowDeleting(e);
                if (this.xmjbxxrowChangeEventHandler2 != null)
                {
                    this.xmjbxxrowChangeEventHandler2(this, new dsRep.GEventArgs18((dsRep.XMJBXXRow)e.Row, e.Action));
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void RemoveXMJBXXRow(dsRep.XMJBXXRow row)
            {
                base.Rows.Remove(row);
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event dsRep.XMJBXXRowChangeEventHandler XMJBXXRowChanged
            {
                add
                {
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler;
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler1 = this.xmjbxxrowChangeEventHandler1;
                    do
                    {
                        xMJBXXRowChangeEventHandler = xMJBXXRowChangeEventHandler1;
                        dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler2 = (dsRep.XMJBXXRowChangeEventHandler)Delegate.Combine(xMJBXXRowChangeEventHandler, value);
                        xMJBXXRowChangeEventHandler1 = Interlocked.CompareExchange<dsRep.XMJBXXRowChangeEventHandler>(ref this.xmjbxxrowChangeEventHandler1, xMJBXXRowChangeEventHandler2, xMJBXXRowChangeEventHandler);
                    }
                    while ((object)xMJBXXRowChangeEventHandler1 != (object)xMJBXXRowChangeEventHandler);
                }
                remove
                {
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler;
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler1 = this.xmjbxxrowChangeEventHandler1;
                    do
                    {
                        xMJBXXRowChangeEventHandler = xMJBXXRowChangeEventHandler1;
                        dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler2 = (dsRep.XMJBXXRowChangeEventHandler)Delegate.Remove(xMJBXXRowChangeEventHandler, value);
                        xMJBXXRowChangeEventHandler1 = Interlocked.CompareExchange<dsRep.XMJBXXRowChangeEventHandler>(ref this.xmjbxxrowChangeEventHandler1, xMJBXXRowChangeEventHandler2, xMJBXXRowChangeEventHandler);
                    }
                    while ((object)xMJBXXRowChangeEventHandler1 != (object)xMJBXXRowChangeEventHandler);
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event dsRep.XMJBXXRowChangeEventHandler XMJBXXRowChanging
            {
                add
                {
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler;
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler1 = this.xmjbxxrowChangeEventHandler;
                    do
                    {
                        xMJBXXRowChangeEventHandler = xMJBXXRowChangeEventHandler1;
                        dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler2 = (dsRep.XMJBXXRowChangeEventHandler)Delegate.Combine(xMJBXXRowChangeEventHandler, value);
                        xMJBXXRowChangeEventHandler1 = Interlocked.CompareExchange<dsRep.XMJBXXRowChangeEventHandler>(ref this.xmjbxxrowChangeEventHandler, xMJBXXRowChangeEventHandler2, xMJBXXRowChangeEventHandler);
                    }
                    while ((object)xMJBXXRowChangeEventHandler1 != (object)xMJBXXRowChangeEventHandler);
                }
                remove
                {
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler;
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler1 = this.xmjbxxrowChangeEventHandler;
                    do
                    {
                        xMJBXXRowChangeEventHandler = xMJBXXRowChangeEventHandler1;
                        dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler2 = (dsRep.XMJBXXRowChangeEventHandler)Delegate.Remove(xMJBXXRowChangeEventHandler, value);
                        xMJBXXRowChangeEventHandler1 = Interlocked.CompareExchange<dsRep.XMJBXXRowChangeEventHandler>(ref this.xmjbxxrowChangeEventHandler, xMJBXXRowChangeEventHandler2, xMJBXXRowChangeEventHandler);
                    }
                    while ((object)xMJBXXRowChangeEventHandler1 != (object)xMJBXXRowChangeEventHandler);
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event dsRep.XMJBXXRowChangeEventHandler XMJBXXRowDeleted
            {
                add
                {
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler;
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler1 = this.xmjbxxrowChangeEventHandler3;
                    do
                    {
                        xMJBXXRowChangeEventHandler = xMJBXXRowChangeEventHandler1;
                        dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler2 = (dsRep.XMJBXXRowChangeEventHandler)Delegate.Combine(xMJBXXRowChangeEventHandler, value);
                        xMJBXXRowChangeEventHandler1 = Interlocked.CompareExchange<dsRep.XMJBXXRowChangeEventHandler>(ref this.xmjbxxrowChangeEventHandler3, xMJBXXRowChangeEventHandler2, xMJBXXRowChangeEventHandler);
                    }
                    while ((object)xMJBXXRowChangeEventHandler1 != (object)xMJBXXRowChangeEventHandler);
                }
                remove
                {
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler;
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler1 = this.xmjbxxrowChangeEventHandler3;
                    do
                    {
                        xMJBXXRowChangeEventHandler = xMJBXXRowChangeEventHandler1;
                        dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler2 = (dsRep.XMJBXXRowChangeEventHandler)Delegate.Remove(xMJBXXRowChangeEventHandler, value);
                        xMJBXXRowChangeEventHandler1 = Interlocked.CompareExchange<dsRep.XMJBXXRowChangeEventHandler>(ref this.xmjbxxrowChangeEventHandler3, xMJBXXRowChangeEventHandler2, xMJBXXRowChangeEventHandler);
                    }
                    while ((object)xMJBXXRowChangeEventHandler1 != (object)xMJBXXRowChangeEventHandler);
                }
            }

            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public event dsRep.XMJBXXRowChangeEventHandler XMJBXXRowDeleting
            {
                add
                {
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler;
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler1 = this.xmjbxxrowChangeEventHandler2;
                    do
                    {
                        xMJBXXRowChangeEventHandler = xMJBXXRowChangeEventHandler1;
                        dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler2 = (dsRep.XMJBXXRowChangeEventHandler)Delegate.Combine(xMJBXXRowChangeEventHandler, value);
                        xMJBXXRowChangeEventHandler1 = Interlocked.CompareExchange<dsRep.XMJBXXRowChangeEventHandler>(ref this.xmjbxxrowChangeEventHandler2, xMJBXXRowChangeEventHandler2, xMJBXXRowChangeEventHandler);
                    }
                    while ((object)xMJBXXRowChangeEventHandler1 != (object)xMJBXXRowChangeEventHandler);
                }
                remove
                {
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler;
                    dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler1 = this.xmjbxxrowChangeEventHandler2;
                    do
                    {
                        xMJBXXRowChangeEventHandler = xMJBXXRowChangeEventHandler1;
                        dsRep.XMJBXXRowChangeEventHandler xMJBXXRowChangeEventHandler2 = (dsRep.XMJBXXRowChangeEventHandler)Delegate.Remove(xMJBXXRowChangeEventHandler, value);
                        xMJBXXRowChangeEventHandler1 = Interlocked.CompareExchange<dsRep.XMJBXXRowChangeEventHandler>(ref this.xmjbxxrowChangeEventHandler2, xMJBXXRowChangeEventHandler2, xMJBXXRowChangeEventHandler);
                    }
                    while ((object)xMJBXXRowChangeEventHandler1 != (object)xMJBXXRowChangeEventHandler);
                }
            }
        }

        public class XMJBXXRow : DataRow
        {
            private dsRep.XMJBXXDataTable xmjbxxdataTable;

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string ID
            {
                get
                {
                    return (string)base[this.xmjbxxdataTable.IDColumn];
                }
                set
                {
                    base[this.xmjbxxdataTable.IDColumn] = value;
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string PID
            {
                get
                {
                    string item;
                    try
                    {
                        item = (string)base[this.xmjbxxdataTable.DataColumn];
                    }
                    catch (InvalidCastException invalidCastException)
                    {
                        throw new StrongTypingException("表“XMJBXX”中列“PID”的值为 DBNull。", invalidCastException);
                    }
                    return item;
                }
                set
                {
                    base[this.xmjbxxdataTable.DataColumn] = value;
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public int UpdateStatus
            {
                get
                {
                    int item;
                    try
                    {
                        item = (int)base[this.xmjbxxdataTable.UpdateStatusColumn];
                    }
                    catch (InvalidCastException invalidCastException)
                    {
                        throw new StrongTypingException("表“XMJBXX”中列“UpdateStatus”的值为 DBNull。", invalidCastException);
                    }
                    return item;
                }
                set
                {
                    base[this.xmjbxxdataTable.UpdateStatusColumn] = value;
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public DateTime UpdateTime
            {
                get
                {
                    DateTime item;
                    try
                    {
                        item = (DateTime)base[this.xmjbxxdataTable.UpdateTimeColumn];
                    }
                    catch (InvalidCastException invalidCastException)
                    {
                        throw new StrongTypingException("表“XMJBXX”中列“UpdateTime”的值为 DBNull。", invalidCastException);
                    }
                    return item;
                }
                set
                {
                    base[this.xmjbxxdataTable.UpdateTimeColumn] = value;
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string XMBH
            {
                get
                {
                    string item;
                    try
                    {
                        item = (string)base[this.xmjbxxdataTable.DataColumn1];
                    }
                    catch (InvalidCastException invalidCastException)
                    {
                        throw new StrongTypingException("表“XMJBXX”中列“XMBH”的值为 DBNull。", invalidCastException);
                    }
                    return item;
                }
                set
                {
                    base[this.xmjbxxdataTable.DataColumn1] = value;
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public string XMMC
            {
                get
                {
                    string item;
                    try
                    {
                        item = (string)base[this.xmjbxxdataTable.DataColumn2];
                    }
                    catch (InvalidCastException invalidCastException)
                    {
                        throw new StrongTypingException("表“XMJBXX”中列“XMMC”的值为 DBNull。", invalidCastException);
                    }
                    return item;
                }
                set
                {
                    base[this.xmjbxxdataTable.DataColumn2] = value;
                }
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            internal XMJBXXRow(DataRowBuilder rb)
                : base(rb)
            {
                this.xmjbxxdataTable = (dsRep.XMJBXXDataTable)base.Table;
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsUpdateStatusNull()
            {
                return base.IsNull(this.xmjbxxdataTable.UpdateStatusColumn);
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool IsUpdateTimeNull()
            {
                return base.IsNull(this.xmjbxxdataTable.UpdateTimeColumn);
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool method()
            {
                return base.IsNull(this.xmjbxxdataTable.DataColumn);
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void method1()
            {
                base[this.xmjbxxdataTable.DataColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool method2()
            {
                return base.IsNull(this.xmjbxxdataTable.DataColumn1);
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void method3()
            {
                base[this.xmjbxxdataTable.DataColumn1] = Convert.DBNull;
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public bool method4()
            {
                return base.IsNull(this.xmjbxxdataTable.DataColumn2);
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void method5()
            {
                base[this.xmjbxxdataTable.DataColumn2] = Convert.DBNull;
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetUpdateStatusNull()
            {
                base[this.xmjbxxdataTable.UpdateStatusColumn] = Convert.DBNull;
            }

            [DebuggerNonUserCode]
            [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
            public void SetUpdateTimeNull()
            {
                base[this.xmjbxxdataTable.UpdateTimeColumn] = Convert.DBNull;
            }
        }

        [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
        public delegate void XMJBXXRowChangeEventHandler(object sender, dsRep.GEventArgs18 e);
    }
}